package nl.fonfolio.view.avatar {
	import flash.display.MovieClip;
	import caurina.transitions.Tweener;

	/**
	 * @author Niels
	 */
	public class Head extends MovieClip {
		public var face:BodyElement;
		public var mouth:BodyElement;
		public var eyeLeft:BodyElement;
		public var eyeRight:BodyElement;
		public var eyebrowLeft:BodyElement;
		public var eyebrowRight:BodyElement;
		public var hair:BodyElement;
		public var nose:BodyElement;

		public function Head() {
			//grow()
		}

		public function grow():void {
			Tweener.addTween(this, {scaleX:1.5, scaleY:1.5, time:0.5, transition:"easeInOutQuart"});
		}

		public function shrink():void {
			Tweener.addTween(this, {scaleX:1, scaleY:1, time:0.5, transition:"easeInOutQuart"});
		}
	}
}
